<?php
include('connection.php');
if(isset($_GET['u']))
{
$u=$_GET['u'];
$sql = "SELECT * FROM  `student information` WHERE form_number = '$u' ";
$result = mysql_query($sql);
$count=mysql_num_rows($result);

if($count>0)
{
echo "0" ;
}
else
{
echo "1";
}
}
?>
